package io.github.wanggit.antrpc.console.web.vo;

import lombok.Data;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

@Data
public class CallLogTree implements Serializable {
    private static final long serialVersionUID = 1760218409861462068L;

    private String name;

    private String value;

    private List<CallLogTree> children = new ArrayList<>();

    public void addChild(CallLogTree callLogTree) {
        children.add(callLogTree);
    }
}
